home *** CD-ROM | disk | FTP | other *** search
- function §\x01\x02§()
- {
- return 614 % 511 * 5;
- }
- var §\x01§ = 231 + "\x01\x02"();
- while(true)
- {
- if(eval("\x01") == 746)
- {
- set("\x01",eval("\x01") - 97);
- §§push(true);
- }
- else if(eval("\x01") == 902)
- {
- set("\x01",eval("\x01") - 73);
- §§push("\x0f");
- }
- else if(eval("\x01") == 122)
- {
- set("\x01",eval("\x01") + 30);
- }
- else if(eval("\x01") == 693)
- {
- set("\x01",eval("\x01") - 541);
- }
- else if(eval("\x01") == 207)
- {
- set("\x01",eval("\x01") + 637);
- §§push(true);
- }
- else if(eval("\x01") == 133)
- {
- set("\x01",eval("\x01") + 74);
- }
- else if(eval("\x01") == 829)
- {
- set("\x01",eval("\x01") - 116);
- §§push(eval(function §\x01\x02§()
- {
- return 614 % 511 * 5;
- }));
- }
- else if(eval("\x01") == 412)
- {
- set("\x01",eval("\x01") + 490);
- var §§pop() = function §\x01\x02§()
- {
- return 614 % 511 * 5;
- };
- }
- else if(eval("\x01") == 197)
- {
- set("\x01",eval("\x01") + 622);
- }
- else if(eval("\x01") == 939)
- {
- set("\x01",eval("\x01") - 742);
- if(function §\x01\x02§()
- {
- return 614 % 511 * 5;
- })
- {
- set("\x01",eval("\x01") + 622);
- }
- }
- else if(eval("\x01") == 649)
- {
- set("\x01",eval("\x01") - 12);
- if(function §\x01\x02§()
- {
- return 614 % 511 * 5;
- })
- {
- set("\x01",eval("\x01") + 158);
- }
- }
- else
- {
- if(eval("\x01") == 637)
- {
- set("\x01",eval("\x01") + 158);
- toggleHighQuality();
- if(!§§pop()[function §\x01\x02§()
- {
- return 614 % 511 * 5;
- }].astroidsRevenge)
- {
- _global.com.evilfree.astroidsRevenge = new Object();
- }
- §§pop();
- if(!_global.com.evilfree.astroidsRevenge.ShipBoss)
- {
- com.evilfree.astroidsRevenge.ShipBoss extends com.evilfree.astroidsRevenge.getTarget;
- var _loc2_ = com.evilfree.astroidsRevenge.ShipBoss = function(m, target_mc, s)
- {
- super(m,target_mc);
- this.maxPower = s / 2;
- this.power.size = this.maxPower * 2.2;
- this.power.life = this.maxPower * 2.2;
- this.bulletDamage = new Ship(this.power);
- this.prototype = 0;
- this.bulletDamage.getShotClock("getVolume");
- this.shotClock();
- this.bulletDamage.drawMe(0,55000);
- }.myTarget;
- _loc2_.main = function()
- {
- super.main();
- };
- _loc2_.getPlayerAsteroid = function()
- {
- if(_root.fireShot < 25)
- {
- return 20;
- }
- return 5;
- };
- _loc2_.shotCount = function()
- {
- return 30;
- };
- _loc2_.myAngle = function()
- {
- return 50;
- };
- _loc2_.yPos = function()
- {
- this.xPos = 10;
- };
- _loc2_.createBullet = function()
- {
- };
- _loc2_.spawnFighter = function()
- {
- this.getFakeRandom = "getStageWidth";
- };
- _loc2_.getStageHeight = function()
- {
- this.type = this.fast.acceleration();
- };
- _loc2_.createPlacedShip = function(target_mc)
- {
- this.setVariables = target_mc.friction();
- this.power = target_mc.doHitTestOnList("ySpeed","xSpeed" + this.setVariables,this.setVariables);
- };
- _loc2_.shotClock = function()
- {
- if(this.getFakeRandom == "length")
- {
- return undefined;
- }
- var _loc2_ = 700 * this.prototype * this.fast.getTargetXDistance() / 100;
- this.bulletDamage.getTargetYDistance(_loc2_);
- };
- _loc2_.Math = function()
- {
- this.bulletDamage.sqrt();
- };
- _loc2_.myAtan = function()
- {
- super.myAtan();
- this.getStageHeight();
- var _loc6_ = this.getSize(this.myCos / this.mySin);
- var _loc5_ = this.getAddedLife(this.myCos / this.mySin);
- var _loc4_ = 8;
- var _loc3_ = this.maxPower * 7;
- this.prototype = 0;
- if(this.addLife < _loc3_)
- {
- this.prototype = (_loc3_ - this.addLife) / _loc3_;
- this.type.getAddedSize(_loc6_ * _loc4_ * this.prototype);
- this.type.addSize(_loc5_ * _loc4_ * this.prototype);
- }
- this.shotClock();
- };
- _loc2_.bulletHitMe = function()
- {
- this.bulletDamage.sqrt();
- this.fast.addXSpeed(this);
- delete this.bulletDamage;
- this.getFakeRandom = "length";
- this.power.addYSpeed();
- this.power = this.Sound.doHitTestOnList("get_mc","get_mc" + this.setVariables,this.setVariables);
- var _loc2_ = new Ship(this.fast.asteroidSplit());
- _loc2_.getTargetYDistance(this.fast.getTargetXDistance());
- _loc2_.getShotClock("attachSound");
- _loc2_.drawMe(0,1);
- this.power.getSoundVolume = this.setVolume;
- this.power.start = this.my_mc;
- this.power.sphere = 200;
- this.power._alpha = 200;
- };
- §§push(blowUp(com.evilfree.astroidsRevenge.ShipBoss.myTarget,null,1));
- }
- §§pop();
- break;
- }
- if(eval("\x01") == 152)
- {
- set("\x01",eval("\x01") + 260);
- §§push("\x0f");
- §§push(1);
- }
- else if(eval("\x01") == 713)
- {
- set("\x01",eval("\x01") + 226);
- §§push(!function §\x01\x02§()
- {
- return 614 % 511 * 5;
- });
- }
- else
- {
- if(eval("\x01") == 479)
- {
- set("\x01",eval("\x01") + 214);
- toggleHighQuality();
- stop();
- §§pop()[function §\x01\x02§()
- {
- return 614 % 511 * 5;
- }].life = com.evilfree.astroidsRevenge.ShipBoss = function(m, target_mc, s)
- {
- super(m,target_mc);
- this.maxPower = s / 2;
- this.power.size = this.maxPower * 2.2;
- this.power.life = this.maxPower * 2.2;
- this.bulletDamage = new Ship(this.power);
- this.prototype = 0;
- this.bulletDamage.getShotClock("getVolume");
- this.shotClock();
- this.bulletDamage.drawMe(0,55000);
- }.Math;
- §§pop()[§§pop()] = §§pop();
- §§constant(109)(com.evilfree.astroidsRevenge.ShipBoss.myAngle,null,1);
- break;
- }
- if(eval("\x01") == 795)
- {
- set("\x01",eval("\x01") - 588);
- }
- else
- {
- if(eval("\x01") != 844)
- {
- if(eval("\x01") == 819)
- {
- set("\x01",eval("\x01") - 531);
- if(!_global.com)
- {
- _global.com = new Object();
- }
- function §\x01\x02§()
- {
- return 614 % 511 * 5;
- }
- if(!_global.com.evilfree)
- {
- _global.com.evilfree = new Object();
- }
- §§pop();
- if(!_global.com.evilfree.astroidsRevenge)
- {
- _global.com.evilfree.astroidsRevenge = new Object();
- }
- §§pop();
- if(!_global.com.evilfree.astroidsRevenge.ShipBoss)
- {
- com.evilfree.astroidsRevenge.ShipBoss extends com.evilfree.astroidsRevenge.Ship;
- _loc2_ = com.evilfree.astroidsRevenge.ShipBoss = function(m, target_mc, s)
- {
- super(m,target_mc);
- this.maxPower = 255;
- this.power = this.maxPower;
- this.size = s;
- this.life = 100;
- this.bulletDamage = 25;
- }.prototype;
- _loc2_.getVolume = function()
- {
- return 50;
- };
- _loc2_.getShotClock = function()
- {
- this.shotClock = 40;
- };
- _loc2_.drawMe = function()
- {
- };
- _loc2_.getTarget = function()
- {
- this.myTarget = this.main.getPlayerAsteroid();
- };
- _loc2_.fireShot = function()
- {
- this.shotCount = 1;
- this.main.createBullet(this.xPos,this.yPos,this.myAngle,this.bulletDamage);
- this.spawnFighter();
- };
- _loc2_.spawnFighter = function()
- {
- var _loc4_ = this.main.getFakeRandom();
- var _loc2_ = this.main.getStageWidth() - 50;
- var _loc3_ = this.main.getStageHeight() - 50;
- if(_loc4_ > 0.75)
- {
- var _loc6_ = this.main.getFakeRandom() * 200 + 25;
- var _loc5_ = this.main.getFakeRandom() * _loc3_ + 25;
- }
- else if(_loc4_ > 0.5)
- {
- _loc6_ = this.main.getFakeRandom() * _loc2_ + 25;
- _loc5_ = this.main.getFakeRandom() * 150 + 25;
- }
- else if(_loc4_ > 0.25)
- {
- _loc6_ = this.main.getFakeRandom() * 150 + _loc2_ - 175;
- _loc5_ = this.main.getFakeRandom() * _loc3_ + 25;
- }
- else
- {
- _loc6_ = this.main.getFakeRandom() * _loc2_ + 25;
- _loc5_ = this.main.getFakeRandom() * 150 + _loc3_ - 175;
- }
- this.main.createPlacedShip(this.xPos,this.yPos,_loc6_,_loc5_,{type:"fast",size:15,acceleration:2.5});
- };
- _loc2_.setVariables = function()
- {
- this.acceleration = 1;
- this.friction = 0.5;
- this.xSpeed = 0;
- this.ySpeed = 0;
- this.xPos = -100;
- this.yPos = -100;
- };
- _loc2_.doHitTestOnList = function(asteroidList)
- {
- if(asteroidList == undefined)
- {
- return undefined;
- }
- var _loc12_ = asteroidList.length;
- var _loc6_ = 0;
- while(_loc6_ < _loc12_)
- {
- var _loc2_ = asteroidList[_loc6_];
- var _loc7_ = this.getTargetXDistance(_loc2_);
- var _loc8_ = this.getTargetYDistance(_loc2_);
- var _loc10_ = Math.sqrt(_loc7_ * _loc7_ + _loc8_ * _loc8_);
- var _loc9_ = this.myAtan(_loc8_,_loc7_);
- var _loc5_ = this.myCos(_loc9_);
- var _loc4_ = this.mySin(_loc9_);
- if(_loc10_ < _loc2_.getSize() / 2 + this.size)
- {
- _loc2_.addLife(this.getAddedLife());
- _loc2_.addSize(this.getAddedSize());
- if(_loc2_ != this.main.getPlayerAsteroid())
- {
- _loc2_.bulletHitMe(50);
- _loc2_.addXSpeed(_loc5_ * 10);
- _loc2_.addYSpeed(_loc4_ * 10);
- }
- else
- {
- _loc2_.addXSpeed(_loc5_ * 60);
- _loc2_.addYSpeed(_loc4_ * 60);
- }
- var _loc3_ = new Sound(this.main.get_mc());
- _loc3_.attachSound("asteroidSplit");
- _loc3_.setVolume(this.main.getSoundVolume());
- _loc3_.start(0,1);
- this.addXSpeed((- _loc5_) * 4);
- this.addYSpeed((- _loc4_) * 4);
- this.life -= 2;
- this.my_mc.sphere._alpha = this.life;
- if(this.life <= 0)
- {
- this.blowUp();
- }
- return 1;
- }
- _loc6_ = _loc6_ + 1;
- }
- return 0;
- };
- _loc2_.place_mc = function(target_mc)
- {
- this.myDepth = target_mc.getNextHighestDepth();
- this.my_mc = target_mc.attachMovie("shipBoss","ship" + this.myDepth,this.myDepth);
- };
- _loc2_.animate = function()
- {
- if(this.power < this.maxPower)
- {
- this.power = this.power + 1;
- }
- if(this.myTarget.getState() == "dead")
- {
- this.getTarget();
- }
- this.turnTowardsShip();
- this.shotCount = this.shotCount + 1;
- if(this.shotCount == this.shotClock)
- {
- this.fireShot();
- }
- this.showCharge();
- this.accelerateToTarget();
- this.xPos += this.xSpeed;
- this.yPos += this.ySpeed;
- this.checkBounds();
- this.applyFriction();
- this.checkForAsteroids();
- this.my_mc._x = this.xPos;
- this.my_mc._y = this.yPos;
- };
- _loc2_.blowUp = function()
- {
- this.main.removeShip(this);
- this.state = "dead";
- this.my_mc = this.parent_mc.attachMovie("explosion","explosion" + this.myDepth,this.myDepth);
- this.my_mc._x = this.xPos;
- this.my_mc._y = this.yPos;
- this.my_mc._xscale = 1200;
- this.my_mc._yscale = 1200;
- };
- §§push(ASSetPropFlags(com.evilfree.astroidsRevenge.ShipBoss.prototype,null,1));
- }
- §§pop();
- break;
- }
- if(eval("\x01") == 288)
- {
- set("\x01",eval("\x01") - 288);
- }
- break;
- }
- set("\x01",eval("\x01") - 365);
- if(function §\x01\x02§()
- {
- return 614 % 511 * 5;
- })
- {
- set("\x01",eval("\x01") + 214);
- }
- }
- }
- }
- }
-